package com.cn.stock.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@ApiModel(value = "库存")
@NoArgsConstructor
@AllArgsConstructor

public class Stock extends Common {
    @ApiModelProperty(value = "门票类型id", example = "12")
    private Integer productTypeId;

    @ApiModelProperty(value = "价格id", example = "12")
    private Integer priceId;

    @ApiModelProperty(value = "产品id", example = "12")
    private Integer productId;

    @ApiModelProperty(value = "可用库存", example = "100")
    private Integer availableStock;

    @ApiModelProperty(value = "总库存", example = "200")
    private Integer stock;

    @ApiModelProperty(value = "使用时间", example = "2012-01-20 12:22:11")
    private String useDate;

    @ApiModelProperty(value = "起始时间")
    private Integer startTime;

    @ApiModelProperty(value = "截止时间")
    private Integer endTime;
}
